package com.carl.common.constant;


/**
 * spu的发布状态枚举类
 */
public class ProductConstant {

    /**
     * 采购单状态
     */
    public enum ProductStatusEnum{
        SPU_NEW(0,"新建")
        ,SPU_UP(1,"商品上架")
        ,SPU_DOWN(2,"商品下架");

        private int code;
        private String msg;
        ProductStatusEnum(int code,String msg){
            this.code = code;
            this.msg = msg;
        }
        public int getCode(){
            return  code;
        }

        public String getMsg() {
            return msg;
        }
    }
}
